import pinyin from 'js-pinyin'


export function getFullChars(val: any) {
    return pinyin.getFullChars(val)
}



export function getRealName(val: String) {
    if (val && val.length > 1) {
        return getFullChars(val.substring(0, 1))
    }
    return ""
}